package com.laputa.dao.model;

/**
 * Building entity. @author MyEclipse Persistence Tools
 */

public class Building implements java.io.Serializable {

	// Fields

	private Long id;
	private Long type;
	private Long holder;
	private Long population;
	private Long totallayer;

	// Constructors

	/** default constructor */
	public Building() {
	}

	/** full constructor */
	public Building(Long type, Long holder, Long population, Long totallayer) {
		this.type = type;
		this.holder = holder;
		this.population = population;
		this.totallayer = totallayer;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getType() {
		return this.type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	public Long getHolder() {
		return this.holder;
	}

	public void setHolder(Long holder) {
		this.holder = holder;
	}

	public Long getPopulation() {
		return this.population;
	}

	public void setPopulation(Long population) {
		this.population = population;
	}

	public Long getTotallayer() {
		return this.totallayer;
	}

	public void setTotallayer(Long totallayer) {
		this.totallayer = totallayer;
	}

}